<div id="paginationControl">
    <div class="pcMain fc">
        <?php
        if ($this->pageCount > 1) {

            if (isset($this->previous)) {
                echo '&lt; ' 
                   . $this->link($this->U('blog', 
                                 'list', 
                                 null, 
                                 array('page' => $this->previous), null, false), 
                                 $this->T('previous'))
                   . ' | ';
            } else {
                echo '<span class="disabled">&lt; ' . $this->T('previous') . '</span> | ';
            }

            foreach ($this->pagesInRange as $page) {
                if ($page != $this->current) {
                    echo $this->link($this->U('blog', 
                                  'list', 
                                  null, 
                                  array('page' => $page), null, false), 
                                  $page) . ' | ';
                } else {
                    echo $page . ' | ';
                }
            }

            if (isset($this->next)) {
                echo $this->link($this->U('blog', 
                                  'list', 
                                  null, 
                                  array('page' => $this->next), null, false), 
                                  $this->T('next')) . ' &gt;';
            } else {
                echo '<span class="disabled">' . $this->T('next') . ' &gt;</span>';
            }
        }
        ?>
    </div>
</div>